<template>
  <div>
<wv-group title="价值">
  <wv-input label="物品价值" placeholder="人民币(不清楚可空)" v-bind:value="goodPrice"  v-model="goodPrice"></wv-input>
</wv-group>
  </div>
</template>

<script>
import { Input } from 'we-vue'
export default {
  name: 'Prices',
  components: {
    Input
  },
  data () {
    return {
      goodPrice: this.$store.state.goodPrice
    }
  },
  watch: {
    goodPrice (val, oldval) {
      this.$store.commit('changePrice', val)
    }
  }
}
</script>

<style lang="stylus" scoped>

</style>
